package org.sauceggplant.item.man.ui.table;

import org.sauceggplant.item.man.ui.frame.MainFrame;

import javax.swing.*;

public class DataTable extends JTable {

    private MainFrame frame;

    public DataTable(Object[][] rowData, Object[] columnNames, MainFrame frame) {
        super(rowData, columnNames);
        this.frame = frame;
//        String font = frame.getPROPERTIES().getProperty(Constants.FONT);
//        int fontSize = Integer.valueOf(frame.getPROPERTIES().getProperty(Constants.FONT_SIZE));
//        int rowHeight = Integer.valueOf(frame.getPROPERTIES().getProperty(Constants.ROW_HEIGHT));
//        this.setFont(new Font(font, Font.PLAIN, fontSize));
        this.setRowHeight(rowHeight);
    }
}
